<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>

<body>
    <div id="app">

        <div>
            <!-- 要求 我就想显示{{message}} -->
            {{message}}
        </div>
        <!-- 源码内部特征 只要发现 v-pre标签 内部 就不会进行正则替换  -->
        <div v-pre>
            {{message}}
        </div>
        <!-- v-once只渲染一次  -->
        <div v-once>
            {{num}}
        </div>

    </div>


    <script>
      
        var app = new Vue({
            el: '#app',
            data: {
                message: 'Hello Vue22222!',
                num:100
            }
        })

        console.log('app', app)

        setTimeout(()=>{
            app.$data.num = 100000
        },2000)

        setTimeout(()=>{
            app._data.num = 20000
        },2000)

        setTimeout(()=>{
           app.num =30000
        },2000)




    </script>
</body>

</html>